﻿@model FacebookLoginButton.Models.FacebookUser

@{
    ViewBag.Title = "Search";
}
<div id="search">
    @using (Html.BeginForm("Search", "Input", FormMethod.Post))
    {
        @Html.ValidationSummary(true)

        <fieldset>
            <legend> Enter a Facebook ID </legend>            
        
            <div class="editor-field">
                @Html.EditorFor(model => model.id)
                @Html.ValidationMessageFor(model => model.id)
            </div>
            <p>
                <input type="submit" value="Search" />
            </p>
        </fieldset>
    }
</div>